package com.example.demo.entity;

import lombok.ToString;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "c_relation")
@ToString
public class cRelationEntity {

    @Id
    Integer relationId;

    @Basic
    Integer classId;

    @Basic
    String SubclassofName;

    public Integer getRelationId() {
        return relationId;
    }

    public void setRelationId(Integer relationId) {
        this.relationId = relationId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getSubclassofName() {
        return SubclassofName;
    }

    public void setSubclassofName(String subclassofName) {
        SubclassofName = subclassofName;
    }
}
